#include "DriveR0.h"

NTSTATUS NTAPI CallBack(PCommPackage pcakage)
{
	switch (pcakage->code)
	{
	case TEST:
	{
		UINT32* t = (UINT32*)(pcakage->inDate);
		DbgPrintEx(77 , 0 , "[db]:%llx\r\n" , *t);
		break;
	}
	default:
		break;
	}
	return STATUS_SUCCESS;
}

NTSTATUS DriverEntry(PDRIVER_OBJECT pDriver, PUNICODE_STRING pReg)
{
	DbgPrintEx(77, 0, "[db]:DriverLoadr\n");
	DriverRegisterComm(pDriver, CallBack);
	pDriver->DriverUnload = DriverUnload;
	return STATUS_SUCCESS;
}
